import request from '@/utils/request'

// 查询分数汇总列表
export function listScoreSummary(query) {
  return request({
    url: '/performance/scoreSummary/list',
    method: 'get',
    params: query
  })
}

// 查询分数汇总详细
export function getScoreSummary(id) {
  return request({
    url: '/performance/scoreSummary/' + id,
    method: 'get'
  })
}

// 新增分数汇总
export function addScoreSummary(data) {
  return request({
    url: '/performance/scoreSummary',
    method: 'post',
    data: data
  })
}

// 修改分数汇总
export function updateScoreSummary(data) {
  return request({
    url: '/performance/scoreSummary/updatesm',
    method: 'post',
    data: data
  })
}

// 删除分数汇总
export function delScoreSummary(id) {
  return request({
    url: '/performance/scoreSummary/' + id,
    method: 'delete'
  })
}
